REC.TRIGPOS

Description

REC.TRIGPOS sets the trigger position in the recording buffer. The recording buffer size is defined by REC.NUMPOINTS . The input value is a percentage of the buffer (that is, a value of 25 means saving 25% of the buffer data before the trigger occurs and 75% after it occurs). This parameter is not used when REC.TRIGTYPE is 0 or 1.

Trigger Position

Trigger position (REC.TRIGPOS) allows you to collect data that occurs before the trigger occurs. In some instances, you may want to see the conditions prior to the trigger. Trigger position lets you control how much signal is collected before the trigger condition occurred .

Trigger position is specified in units of percent (%). If you specify a trigger position of x% , then x% of the data is before 0 ms in the data time and 100-x% (the rest of the data) is at or greater than 0 ms. In the figure below, the trigger position is set to 25% (REC.TRIGPOS 25).

In the WorkBench scope, the 0 time point is clear. When collecting the data using REC.RETRIEVE or similar commands, the time is not returned, so some caution should be used when the trigger point is important to understand.

 

Examples

Code

Of the data captured by this setting, 20% of it is just before triggering took place and 80% of it is just after triggering took place.

-->REC.TRIGPOS 20

Context

For more information see Scope.

Versions

Action Version Notes
Implemented 02-00-00-000

General Information

Type

Read/Write

Units

%

Range

1 to 100

Default Value

10

Data Type

Integer

See Also

REC.TRIG , REC.NUMPOINTS

Stored in Non Volatile Memory

No

Variants Supported

All variants are supported.